#ifndef OBJECT_INSPECTOR
#define OBJECT_INSPECTOR

#include <QWidget>
#include <QTreeView>
#include <QtGui/QStandardItemModel>
#include <ObjectInspectorModel.h>
#include <ObjectInspectorDirector.h>
class ObjectInspector : public QWidget
{
public:
	ObjectInspector(QWidget *parent = 0);
	virtual ~ObjectInspector();
	QTreeView* getTreeView();
    void replaceModel(ObjectInspectorModel* model);
    void addDirector(QSharedPointer<ObjectInspectorDirector> director);
    void rebuild();
    void refresh();
    void clear();
    ObjectInspectorModel* getObjectInspectorModel();
private:
	QTreeView * m_treeView;
    ObjectInspectorModel* m_model;
};

#endif // OBJECT_INSPECTOR
